package org.ricks.schedule;

/**
 * @author chenwei
 * @Title:
 * @Package
 * @Description:
 * @date 2022/11/411:18
 */
public interface Timeout {

    Timer timer();

    TimerTask task();

    boolean isExpired();

    boolean isCancelled();

    boolean cancel();
}